/**
 * 
 */
package ru.spb.osll.myfit.server.handler;

import java.util.Vector;

import ru.spb.osll.myfit.common.Content;
import ru.spb.osll.myfit.common.Page;
import ru.spb.osll.myfit.common.PageElement;
import ru.spb.osll.myfit.common.Table;
import ru.spb.osll.myfit.common.TableStyle;



/**
 * @author kdv
 *
 */
public interface Handler {

	public Page loadPage(String pagePath);

	public Page loadPageFromDirectory(String pageName, String fromDirectory);

	public PageElement loadInclude(String includePagePath, String parentPagePath);

  public Table getTable(Vector<String> rawTable, TableStyle tableStyle);

  public Content createContent(String root, String pagePath, int level);
	
	//void savePage(String path, Page page) throws IOException;

}
